home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1994 November / Cd Ware (Nro. 2) - Epimundo.iso / OS2 / PC2_170.ZIP / SOURCE.ZIP / Source / PC2.Ipp < prev    next >
Encoding:
Text File  |  1994-06-01  |  69.9 KB  |  1,235 lines

  1. .imd PC2.h
  2. :userdoc.
  3. :title.PC/2 Help Program
  4. :body.
  5.  
  6.  
  7. .****************************************************************************************
  8. .*--------------------------------------------------------------------------------------*
  9. .* The user selected help with F1, the mouse, the smarticon or the keyboard.            *
  10. .*--------------------------------------------------------------------------------------*
  11. .****************************************************************************************
  12.  
  13. :h1 res=&ID_HELP..PC/2 Help for Help
  14. :lines align=center.
  15. :color fc=red.
  16. PC/2 - Program Commander/2 Version 1.70
  17. for IBM OS/2 2.x Presentation Manager
  18. Copyright (C) by Stangl Roman 06, 1994
  19. :color fc=default.
  20. :elines.
  21. :p.Please select one of the following topics for further information:
  22. :ul compact.
  23. :li.:link reftype=hd res=&ID_ABOUTDIALOG..About the utility PC/2:elink.
  24. :li.:link reftype=hd res=&ID_INSTALLATIONHELP..Installing PC/2:elink.
  25. :li.:link reftype=hd res=&ID_GENERALHELP..Using PC/2 as a WPS addon:elink.
  26. :li.:link reftype=hd res=&ID_CONCEPTSHELP..Concepts of the Popup-Menu:elink.
  27. :li.:link reftype=hd res=&ID_USINGHELP..Starting a Program from PC/2:elink.
  28. :li.:link reftype=hd res=&ID_CONFIGDIALOG..Setup the Popup-Menu:elink.
  29. :ul compact.
  30. :li.:link reftype=hd res=&MIID_MENUDIALOG..Adding a Submenu:elink.
  31. :li.:link reftype=hd res=&PIID_PROGRAMDIALOG..Adding a Program:elink.
  32. :li.:link reftype=hd res=&MDID_CONTROLDIALOG..Adding a Popup Menu controls:elink.
  33. :li.:link reftype=hd res=&RDID_RESORTDIALOG..Resorting a (Sub)menu:elink.
  34. :li.:link reftype=hd res=&SUID_STARTUPDIALOG..Run-time parameters:elink.
  35. :eul.
  36. :li.:link reftype=hd res=&ID_DESKTOPDIALOG..Setup the Desktop:elink.
  37. :li.:link reftype=hd res=&ID_OVERVIEWHELP..PC/2's Desktop overview window:elink.
  38. :li.:link reftype=hd res=&ID_ERRORHELP..Error messages:elink.
  39. :eul.
  40. :p.:link reftype=hd res=&ID_HELP..<Backward>:elink.
  41.                                 :link reftype=hd res=&ID_ABOUTDIALOG..<Forward>:elink.
  42.  
  43.  
  44. .****************************************************************************************
  45. .*--------------------------------------------------------------------------------------*
  46. .* The user selected help from the About PC/2 dialog box.                               *
  47. .*--------------------------------------------------------------------------------------*
  48. .****************************************************************************************
  49.  
  50. :h1 res=&ID_ABOUTDIALOG..Help for About PC/2
  51. :lines align=center.
  52. :color fc=red.
  53. PC/2 - Program Commander/2 Version 1.70
  54. for IBM OS/2 2.x Presentation Manager
  55. Copyright (C) by Stangl Roman 06, 1994
  56. :color fc=default.
  57. :elines.
  58. :p.E-Mail:
  59. :ul compact.
  60. :li.InterNet: RSTANGL@VNET.IBM.COM
  61. :li.FidoNet: Roman Stangl @ 2&colon.310/14 LA BAMBA BBS Tel.: (Int. Code +43 +1 +6898971)
  62. :li.FidoNet: Roman Stangl @ IBM Austria National Support BBS Tel.: (Int. Code +43 +1 +21145-6600)
  63. :li.IBM VNET: 61821799 at VIEVMA
  64. :eul.
  65. :p.This program is classified as Freeware. Under the copyright, you are allowed and
  66. encouraged to freely use, distribute or modify this program under the following
  67. conditions:
  68. :ul compact.
  69. :li.The complete source code and all executables are included. This rule also applies
  70. for any modifications you made.
  71. :li.You may only charge for the costs of duplicating, :hp8.distribution on InterNet, FidoNet
  72. or similar is preferred:ehp8. therefor. This program must not be sold by immoral "Public
  73. Domain &. ShareWare" dealers that charge a price far ahead of the actual duplication costs.
  74. :li.:hp8.Any:ehp8. commercial use is prohibited without contacting me prior, except
  75. for incorporating the idea/code in any future release of OS/2 by IBM, however this
  76. clause doesn't apply for any private use.
  77. :li.You don't want to port this utility to MS Windows or Windows NT (Nice Try).
  78. :eul.
  79. :p.You are encouraged to upload this utility to your favourite file-server or
  80. BBS. Please ensure that no file is missing, if you change the archive to
  81. a different compression scheme.
  82. :p.If you find this program useful and want to honor about ten weeks of work writing
  83. this utility, you are welcome to send me a small fee of about 50 to 150 Austrian
  84. Schilling (about 5 to 15 dollar) to my home address. Of course you don't need
  85. to pay again, if a new release of PC/2 comes out.
  86. Please send any donations in cash, because it makes some troubles to exchange
  87. money orders or similar in Austria!
  88. :p.Any suggestions are of course welcome too.
  89. Because of the Freeware status of PC/2 I am :hp8.not:ehp8. going to send new
  90. versions or anything else by mail (which is likely to become a never ending story),
  91. however I try my best to do support via E-Mail!
  92. :p.Thanks to all those, who sent me proposals and bug reports to improve this
  93. utility!
  94. Special thanks to Mario Semo, Carrick von Schoultz and Markus Hof, Roman Fischer,
  95. Alex Stewart, Ingo Pflanz, Rolf Knebel and Michael Wakunda who gave me advices
  96. and/or source code to modify for use within PC/2 and/or other support.
  97. :p.My home address is:
  98. :sl compact.
  99. :li.    Roman Stangl
  100. :li.    Strebersdorferstrasse 46
  101. :li.    A-2103  Langenzersdorf, Austria
  102. :esl.
  103. :p.:link reftype=hd res=&ID_HELP..<Backward>:elink.
  104.                                 :link reftype=hd res=&ID_INSTALLATIONHELP..<Forward>:elink.
  105.  
  106.  
  107. .****************************************************************************************
  108. .*--------------------------------------------------------------------------------------*
  109. .* The user selected help for PC/2 installation.                                        *
  110. .*--------------------------------------------------------------------------------------*
  111. .****************************************************************************************
  112.  
  113. :h1 res=&ID_INSTALLATIONHELP..Installing PC/2
  114. :p.You have obviously started PC/2 once, because you are reading this help panel.
  115. The installation is just straight forward with the REXX script that installs PC/2,
  116. however there are some points to notice:
  117. :ul.
  118. :li.The installation installed an icon on the Desktop and started the help panels
  119. of PC/2. To ensure that OS/2 starts PC/2 automatically the next time you boot your
  120. system, you must start PC/2 again (you then can notice that the background behind
  121. the icon changes). If you have added :hp4.SET RESTARTOBJECTS=STARTUPFOLDERSONLY:ehp4.
  122. in your :hp8.CONFIG.SYS:ehp8. then you must also add a shadow of PC/2 to your startup
  123. folder to ensure PC/2 is started the next time you boot OS/2.
  124. :li.PC/2 requires the file :hp8.PC2HOOK.DLL:ehp8. to be accessible. PC/2 tries
  125. to find this file either in the current directory, or in a path
  126. that is included in the environment variable :hp4.LIBPATH:ehp4.. PC/2 will
  127. not be able to run, if :hp8.PC2HOOK.DLL:ehp8. can't be loaded.
  128. The file :hp8.PC2.HLP:ehp8. may be either accessible in the directory,
  129. where PC/2 is started from, or in a path that is included in the environment
  130. variable :hp4.HELP:ehp4.. If you have problems running PC/2, ensure,
  131. that the working directory of PC/2 is accessible by these variables
  132. in your :hp8.CONFIG.SYS:ehp8..
  133. :li.The installation assumes that you are using the default profile :hp8.Pc2.cfg:ehp8.
  134. containing a standard pre-defined Popup-Menu. If you want to use an other Popup-Menu,
  135. you have to restart PC/2 and add your preferred profile as a commandline option.
  136. Click to the next help panel to get more information about commandline parameters.
  137. You may also use your favourite editor, to import one profile into another, but
  138. you have to ensure, that you don't violate the syntax rules of the profile.
  139. :li.PC/2 looks for its initialization file :hp8.PC2.INI:ehp8. in the directory
  140. where PC/2 was started from.
  141. :li.You can only run one copy of PC/2 concurrently.
  142. :li.If you select a DOS-Program to be started via PC/2, the time-slice of their
  143. sessions is optimized (the DOS-Settings are modified to
  144. :hp4.IDLE_SECONDS=5 IDLE_SENSITIVITY=100:ehp4.) to get a better performance. This
  145. is useful for most DOS games.
  146. :li.You may use PC/2 with or without the WPS installed, you may even use PC/2 as
  147. a replacement for the WPS. To do so you must install PC/2 first. Then you have
  148. to ensure that :hp8.PC2HOOK.DLL:ehp8. is accessible by PC/2. 
  149. Do this by adding the path you installed PC/2 into, to the :hp4.LIBPATH:ehp4.
  150. environment variable in your :hp8.CONFIG.SYS:ehp8..
  151. PC/2 won't run as a WPS replacement if :hp8.PC2HOOK.DLL:ehp8. is not in a path
  152. pointed to by the :hp4.LIBPATH:ehp4. environment variable (this requirement is
  153. new for Version 1.70).
  154. You also have to ensure that :hp8.PC2.HLP:ehp8. is accessible in the PC/2 directory or
  155. in a path pointed to by the :hp4.HELP:ehp4. environment
  156. variable in your :hp8.CONFIG.SYS:ehp8. file. Then replace the statement 
  157. :hp8.SET RUNWORKPLACE=C&colon.\OS2\PMSHELL.EXE:ehp8. with
  158. :hp8.SET RUNWORKPLACE=[path]PC2.EXE:ehp8. where :hp8.[path]:ehp8. is the pathname
  159. of the directory you installed PC/2. The next time you boot, PC/2 will be
  160. started as a replacement for the WPS.
  161. Be careful, OS/2 seems to dislike any parameters added to the program that
  162. is started as the WPS!
  163. :p.:hp8.Caution! PC/2 was not tested on all OS/2 versions or installed software
  164. and hardware :ehp8.(simply because I don't have them):hp8., so there may be
  165. bugs!:ehp8.. Of course you can start the WPS from a command prompt by typing
  166. :hp8.START PMSHELL:ehp8. or add a corresponding entry to PC/2.
  167. :eul.
  168. :p.:link reftype=hd res=&ID_ABOUTDIALOG..<Backward>:elink.
  169.                                 :link reftype=hd res=&ID_GENERALHELP..<Forward>:elink.
  170.  
  171.  
  172. .****************************************************************************************
  173. .*--------------------------------------------------------------------------------------*
  174. .* The user selected general help from the PC/2 main help panel.                        *
  175. .*--------------------------------------------------------------------------------------*
  176. .****************************************************************************************
  177.  
  178. :h1 res=&ID_GENERALHELP..General Help for PC/2
  179. :p.PC/2 - Program Commander is an addon or replacement for the WPS (Workplace Shell).
  180. The user can configure a menu that pops up, when mouse button 1 is clicked
  181. anywhere on the Desktop. From this freely configurable Popup-Menu, you can select
  182. an entry, which is launched immediately.
  183. :p.PC/2 lets you define Hotkeys too. Pressing the Hotkey defined for a program, this
  184. program is switched into the foreground or, if it is not already running, launched
  185. immediately.
  186. :p.PC/2 also allows you to expand the Desktop to a 9-fold virtual
  187. Desktop, you may define Hotkeys to switch to an application on any virtual Desktop
  188. by a simple keypress.
  189. You may also switch to any virtual Desktop directly by doubleclicking with mouse
  190. button 1 on PC/2's overview window.
  191. p.PC/2 also enables you to define a UNIX-style behaviour of switching the input focus
  192. from one window to another. This allows you to have the input focus in a window, which
  193. is not the topmost window.
  194. :p.For example. the Popup-Menu might look like:
  195. :artwork name='Pc2ipc01.bmp' align=left.
  196. :p.You have selected the item :hp4.Prompts:ehp4., which is a Submenu containing
  197. seven more items. F.e. the item :hp4.OS/2 Window:ehp4. starts a windowed OS/2
  198. command prompt, when selected. This Popup-Menu is fully configurable, you may add,
  199. change or remove items. An item can either be a Submenu containing more items, 
  200. the name of a program or a Menu Control.
  201. :p.The complete Popup-Menu can be modified but the Menu Control :hp9.Desktop Menu:ehp9.
  202. must be defined before the Popup-Menu will be displayed after mouse button 1 clicks.
  203. If you have not defined this Menu Control, the :hp9.Setup:ehp9. dialog appears after
  204. mouse button 1 clicks enabling you to add this control.
  205. :p.Your configuration is read from the default profile :hp8.Pc2.cfg:ehp8. each time
  206. PC/2 is started and saved every time you made changes.
  207. You can of course overwrite the default
  208. configuration filename to a file named :hp8.Filename.ext:ehp8. by invoking PC/2 with
  209. the following commandline option:
  210. :p.:hp8.PC2 [-Profile Filename.ext]:ehp8. or
  211. :p.:hp8.PC2 [/Profile Filename.ext]:ehp8.
  212. :p.where :hp8.Filename.ext:ehp8. conforms to a filename of a PC/2 profile. Both FAT
  213. and HPFS filename naming convention is accepted. A few
  214. sample configuration files are provided in this package.
  215. :p.As the default, the Popup-Menu appears if you double-click once on the Desktop,
  216. if no option or the following option is specified:
  217. :p.:hp8.PC2 [-DoubleClick]:ehp8. or
  218. :p.:hp8.PC2 [/DoubleClick]:ehp8.
  219. :p.You may select a single-click instead, by invoking PC/2 with the following
  220. commandline option:
  221. :p.:hp8.PC2 [-SingleClick]:ehp8. or
  222. :p.:hp8.PC2 [/SingleClick]:ehp8.
  223. :p.Please be sure not to combine both click behavior options.
  224. If you don't specify this option a user-modifyable default behaviour is taken
  225. from :hp8.PC2.INI:ehp8..
  226. Of course the options changing the click behavior and the configuration
  227. filename options may be combined.
  228. :p.Because some people use PC/2 as a WPS replacement, PC/2 contains a Menuitem
  229. to ShutDown OS/2. By selecting this entry, it is safe to power off your PS/2 or
  230. PC after all disk activity has been stopped, although no windows are closed.
  231. If you run PC/2 as a WPS replacement and may want to start the WPS either by
  232. starting :hp8.PMSHELL.EXE:ehp8. from a command prompt or by starting a
  233. :hp8.PMSHELL:ehp8. Menuitem with PC/2.
  234. You then can follow the WPS initialization by heavy disk access and
  235. buildup of your Desktop with objects.
  236. PC/2 requires to know the Desktop (in technical terms the window handle
  237. of the Desktop) to be able to catch mouse button 1 clicks. If you start
  238. the WPS the Desktop changes too. Therefor PC/2 checks regularily if the
  239. Desktop has changed, so you may have to wait a little bit,
  240. after the WPS was started, that PC/2 recognizes mouse clicks again..
  241. :p.I would strongly recommend to start PC/2 during OS/2 boot. If you don't
  242. want to use the default profile, don't forget to add :hp8./Profile Filename.exe:ehp8.
  243. to the :hp4.Parameters:ehp4. entryfield in the Settings of PC/2.
  244. :p.The reason why I wrote this utility was primarily, that many programs
  245. installed on a system require many folders and icons on the Desktop. But to
  246. start a program, I don't want to open and close folders, so I made shadows on
  247. the Desktop messing it up. The solution I prefer is to click on the Desktop,
  248. getting immediately a menu and selecting the application to be launched from
  249. this menu, or alternatively launch or switch to applications by simply pressing
  250. a Hotkey.
  251. So PC/2 may help you to start your programs more quickly, without needing to open
  252. and close folders. When running without the WPS installed, you even don't have the
  253. possibility to launch applications from icons.
  254. :p.:link reftype=hd res=&ID_INSTALLATIONHELP..<Backward>:elink.
  255.                                 :link reftype=hd res=&ID_CONCEPTSHELP..<Forward>:elink.
  256.  
  257.  
  258. .****************************************************************************************
  259. .*--------------------------------------------------------------------------------------*
  260. .* The user selected concepts from the PC/2 main help panel.                            *
  261. .*--------------------------------------------------------------------------------------*
  262. .****************************************************************************************
  263.  
  264. :h1 res=&ID_CONCEPTSHELP..Concepts of PC/2
  265. :p.The basic idea behind PC/2 is to have an configurable Popup-Menu available,
  266. to start programs quicky, without having to open and close folders.
  267. :p.The Popup-Menu, popped up when you click with mouse button 1 anywhere on
  268. the Desktop (just like button 2 for the Desktop Menu), consists of so-called
  269. items. An item may be a Submenu, which contains further items, or the title of
  270. an Application or Menu Control items. A Submenu contains a little arrow right
  271. beside the title of the Submenu. Mouse button 1 is on most system the left
  272. mouse button.
  273. :p.You can imagine this Popup-Menu as a tree, with applications as leaves and
  274. Submenus as nodes. PC/2 allows you to freely build your own tree. To do so
  275. you have to click on the Desktop with the left mouse button and to select
  276. :hp8.PC/2 Setup &rarrow. Config Menu:ehp8.. A dialog box appears, where you
  277. can add, modify or remove Submenus and Applications. The listbox displays all
  278. Submenus and Applications of one level (like a cut through the tree). Of
  279. course you may change this level up and down.
  280. :p.You must have defined the Menu :hp8.Configure Menu:ehp8. before PC/2 display
  281. it's Popup-Menu on mouse button 1 clicks. If you don't have defined it, PC/2
  282. displays it's Setup dialog after each click until you have added this control.
  283. :p.Once you have configured your tree of Submenus and Applications, just press
  284. :hp8.Ok:ehp8. to take them into effect and save them to the profile or
  285. :hp8.Cancel:ehp8. to take them into effect without saving.
  286. :p.:link reftype=hd res=&ID_GENERALHELP..<Backward>:elink.
  287.                                 :link reftype=hd res=&ID_USINGHELP..<Forward>:elink.
  288.  
  289.  
  290. .****************************************************************************************
  291. .*--------------------------------------------------------------------------------------*
  292. .* The user selected help for starting a program from PC/2.                             *
  293. .*--------------------------------------------------------------------------------------*
  294. .****************************************************************************************
  295.  
  296. :h1 res=&ID_USINGHELP..Help for starting a program via PC/2
  297. :p.After you have configured the PC/2 Popup-Menu, you click on the Desktop
  298. with mouse button 1, select the Application you want to start and click on it.
  299. The Application will be started as if you were clicking on an icon.
  300. :p.One advantage starting an Application this way is, that you can manipulate
  301. many parameters on how the Application is started, one thing you can't do with
  302. many icons. F.e. you can start it invisible (useful for a backup program), making
  303. it only visible by selecting it from the window list. You may also specify the size
  304. of the Application or to start it in the background. You can even set it's priority
  305. or define a Hotkey to switch to it.
  306. :p.You can also start WPS objects, f.e. the Drives object or the Selective
  307. Install.
  308. If you have an WPS object, that represents a seamless WIN-OS2 application,
  309. you may even launch all types of seamless WIN-OS2 sessions.
  310. Without an corresponding WPS Object, PC/2 can only start seamless WIN-OS2
  311. sessions as separate sessions (the complete WIN-OS2 environment is loaded).
  312. Be warned! - you have to create an WPS Object with :hp8.MAKEOBJ.CMD:ehp8. first
  313. to define an Object ID (Identifier) with that Object, to enable PC/2 to get
  314. this ID.
  315. :p.To close an Application, select the corresponding option from the Application
  316. or terminate it from the tasklist.
  317. Alternatively you may use PC/2's Kill smarticon to close the application's window.
  318. :p.:link reftype=hd res=&ID_CONCEPTSHELP..<Backward>:elink.
  319.                                 :link reftype=hd res=&ID_CONFIGDIALOG..<Forward>:elink.
  320.  
  321.  
  322. .****************************************************************************************
  323. .*--------------------------------------------------------------------------------------*
  324. .* The user selected help from the Configuration/Setup PC/2 dialog box.                 *
  325. .*--------------------------------------------------------------------------------------*
  326. .****************************************************************************************
  327.  
  328. :h1 res=&ID_CONFIGDIALOG..Help for PC/2 Setup
  329. :p.In the listbox, all Submenus and Applications of one level (imagine as a cut
  330. through the tree) are displayed. A Submenu has an arrow right beside it. F.e. assume
  331. the listbox contains 6 Submenus and 2 Applications resulting in the following Popup-Menu:
  332. :artwork name='Pc2ipc02.bmp' align=left.
  333. :p.Select the item :hp8.Config Menu:ehp8. to configure the items appearing in the
  334. Popup-Menu. The :hp9.Setup:ehp9. dialog appears allowing you to adjust all items of
  335. the current level.
  336. :p.You may want to get into the Submenu :hp4.Prompts:ehp4.. Just select the Submenu
  337. :hp4.Prompts:ehp4. an click on the button :hp8.Level Down >>:ehp8.. The listbox
  338. will now be filled with all Submenus and Applications of the Submenu :hp4.Prompts:ehp4..
  339. To get one level up, simply press :hp8.<< Level Up:ehp8.. If nothing seems to
  340. change, you may be either at the highest level (the root of the tree) or at 
  341. the deepest level (a leaf of the tree) of a Submenu.
  342. :p.To configure the Popup-Menu just select an item.
  343. :ul compact.
  344. :li.To change or to remove this item use the buttons :hp8.Change Entry:ehp8. 
  345. or :hp8.Remove Entry:ehp8.. Either a new dialog appears allowing you to change
  346. the item, or the item will be removed.
  347. :li.To add a Submenu or an Application press the buttons :hp8.Add Submenu:ehp8.
  348. or :hp8.Add Program:ehp8.. A new dialog is displayed allowing you to add a new
  349. Submenu or Application, after pressing :hp8.Ok:ehp8. in this dialog, the Submenu
  350. or Application will be inserted :hp8.after:ehp8. the selected item, or at
  351. the end of the list if no item is selected.
  352. :li.To add a Control press the button :hp8.Add Control:ehp8. and a dialog
  353. appears allowing you to add Menu Controls predefined by PC/2.
  354. :li.To resort a Submenu press the button :hp8.Resort Menu:ehp8..
  355. A new dialog is displayed allowing you to resort the currently listed Submenu.
  356. Press here to get more information about the
  357. :link reftype=hd res=&RDID_RESORTDIALOG..Resort:elink. dialog.
  358. :eul.
  359. :p.If the listbox is empty, you can't remove or change anything. You also can't
  360. select any item, but in this case you can add a Submenu or an Application by
  361. just pressing the buttons, without needing to select an item.
  362. :p.Press :hp8.Ok:ehp8. to write the configuration to the profile, or press
  363. :hp8.Cancel:ehp8. to keep the changes only in memory. Both buttons will dismiss
  364. the dialog.
  365. :p.:link reftype=hd res=&CDID_HELP_1..Example 1:elink.
  366.      :link reftype=hd res=&CDID_HELP_2..Example 2:elink.
  367. :p.:link reftype=hd res=&ID_CONCEPTSHELP..<Backward>:elink.
  368.                                 :link reftype=hd res=&MIID_MENUDIALOG..<Forward>:elink.
  369.  
  370. .*--------------------------------------------------------------------------------------*
  371. .* The user selected example 1 from the Setup PC/2 help.                                *
  372. .*--------------------------------------------------------------------------------------*
  373.  
  374. :h2 res=&CDID_HELP_1..Setup example 1
  375. :p.Assume the listbox contains the following items resulting in the following Popup-Menu:
  376. :artwork name='Pc2ipc03.bmp' align=left.
  377. :p.You want to remove the Submenu :hp4.References:ehp4., rename the Submenu
  378. :hp4.Tools:ehp4. to :hp4.Utilities:ehp4. and add a Submenu :hp4.Demos:ehp4..
  379. :ol compact.
  380. :li.Select the item :hp4.References:ehp4.. You can now press the button
  381. :hp8.Remove Entry:ehp8. to remove the submenu, but only if this Submenu is empty.
  382. If it isn't empty, get into this Submenu by pressing :hp8.Level Down >>:ehp8.
  383. and remove all items.
  384. :li.To rename :hp4.Tools:ehp4. to :hp4.Utilities:ehp4. select the item
  385. :hp4.Tools:ehp4. and press the button :hp8.Change Entry:ehp8.. A dialog box
  386. appears allowing you to rename this item.
  387. :li.Select the item, after which you want to insert the new Submenu. Then press
  388. the button :hp4.Add Submenu:ehp4. to add one. A dialog box appears allowing you
  389. to enter the title of a new Submenu.
  390. :eol.
  391.  
  392. .*--------------------------------------------------------------------------------------*
  393. .* The user selected example 2 from the Setup PC/2 help.                                *
  394. .*--------------------------------------------------------------------------------------*
  395.  
  396. :h2 res=&CDID_HELP_2..Setup example 2
  397. :p.Assume that you have remove all items, leading to an empty listbox. Now
  398. you want to add the Applications :hp4.Backup:ehp4. and :hp4.Terminal:ehp4..
  399. :ol compact.
  400. :li.The listbox is empty, so you can't select any item. Just press the
  401. button :hp8.Add Program:ehp8. and a dialog box appears, allowing you to
  402. enter all the data required for the new Application.
  403. :li.Now the listbox contains the item :hp4.Backup:ehp4., select it and
  404. press the button :hp8.Add Program:ehp8. a second time. Again you get
  405. a dialog box, where you enter the data for the Application :hp4.Terminal:ehp4..
  406. :eol.
  407.  
  408.  
  409. .****************************************************************************************
  410. .*--------------------------------------------------------------------------------------*
  411. .* The user selected help from the Menu installation PC/2 dialog box.                   *
  412. .*--------------------------------------------------------------------------------------*
  413. .****************************************************************************************
  414.  
  415. :h1 res=&MIID_MENUDIALOG..Help for PC/2 Menu Installation
  416. :p.This dialog is used to get a name for a Submenu, which is then added to the
  417. Popup-Menu. You can enter whatever you like, f.e. to make a Submenu that contains
  418. OS/2 utilities you might enter :hp4.Utilities:ehp4..
  419. :p.If you have chosen in the previous dialog to change the name of a Submenu, then
  420. overwrite the pre-entered text.
  421. :p.Press :hp8.Ok:ehp8. to accept, or press :hp8.Cancel:ehp8. to ignore the data
  422. you entered.
  423. :p.:link reftype=hd res=&MIID_HELP_1..Examples:elink.
  424. :p.:link reftype=hd res=&ID_CONFIGDIALOG..<Backward>:elink.
  425.                                 :link reftype=hd res=&PIID_PROGRAMDIALOG..<Forward>:elink.
  426.  
  427. .*--------------------------------------------------------------------------------------*
  428. .* The user selected examples from the Menu installation PC/2 help.                     *
  429. .*--------------------------------------------------------------------------------------*
  430.  
  431. :h2 res=&MIID_HELP_1..Menu installation examples
  432. :p.Assume you have entered the following Submenu Titles:
  433. :dl tsize=12 break=fit.
  434. :dthd.:hp8.Title&colon.
  435. :ddhd.Purpose&colon.:ehp8.
  436. :dt.Prompts
  437. :dd.You want to add a Submenu named :hp4.Prompts:ehp4., that contains OS/2 and DOS,
  438. fullscreen and windowed command prompts.
  439. :dt.Spreadsheets
  440. :dd.You want to add a Submenu named :hp4.Spreadsheets:ehp4. for your spreadsheet
  441. program like Lotus 123/G or Excel.
  442. :edl.
  443.  
  444.  
  445. .****************************************************************************************
  446. .*--------------------------------------------------------------------------------------*
  447. .* The user selected help from the Program installation PC/2 dialog box.                *
  448. .*--------------------------------------------------------------------------------------*
  449. .****************************************************************************************
  450.  
  451. :h1 res=&PIID_PROGRAMDIALOG..Help for PC/2 Program Installation
  452. :p.This dialog is a notebook consisting of the following pages:
  453.  
  454. :dl tsize=12 break=fit.
  455. :dthd.:hp8.Page&colon.
  456. :ddhd.Tab title&colon.:ehp8.
  457. :dt.:hp9.Application:ehp9.
  458. :dd.This page is used to define an application's title, path, filename,
  459. working directory, command-line parameters and DOS settings.
  460. :dt.:hp9.Session:ehp9.
  461. :dd.This page determines the type of session you want to add. Select
  462. between PM, OS/2, DOS and WIN-OS2 sessions.
  463. :dt.:hp9.Style:ehp9.
  464. :dd.This page can be used to define the appearance of an application. If the
  465. application doesn't overwrite attributes, you may define the style, size and
  466. position.
  467. :dt.:hp9.Hotkey:ehp9.
  468. :dd.This page is used to define a Hotkey, which will switch to the application
  469. and bring it into the foreground.
  470. :dt.:hp9.Priority:ehp9.
  471. :dd.This page can be used to overwrite the default priority assigned to an
  472. application.
  473. :warning text='Caution:'.Changing the priority may cause serious problems, because
  474. the application may be set to consume nothing to the full CPU time!.
  475. :ewarning.
  476. :edl.
  477. :p.Press :hp8.Ok:ehp8. to accept, or press :hp8.Cancel:ehp8. to ignore the data
  478. you entered in all notebook pages.
  479. :p.For more information click about on one of the above notebook pages select:
  480. :ul compact.
  481. :li.:link reftype=hd res=&PIID_PAGE1..Application Settings:elink.
  482. :li.:link reftype=hd res=&PIID_PAGE2..Session Settings:elink.
  483. :li.:link reftype=hd res=&PIID_PAGE3..Style Settings:elink.
  484. :li.:link reftype=hd res=&PIID_PAGE4..Hotkey Settings:elink.
  485. :li.:link reftype=hd res=&PIID_PAGE5..Priority Settings:elink.
  486. :eul.
  487. :p.:link reftype=hd res=&PIID_EXAMPLE1..Example 1:elink.
  488. :p.:link reftype=hd res=&MIID_MENUDIALOG..<Backward>:elink.
  489.                                 :link reftype=hd res=&MDID_CONTROLDIALOG..<Forward>:elink.
  490.  
  491.  
  492. .*--------------------------------------------------------------------------------------*
  493. .* The user selected help from the Program installation Application notebook page.      *
  494. .*--------------------------------------------------------------------------------------*
  495. :h2 res=&PIID_PAGE1..Application Settings
  496. :p.This dialog is used to get the title, the path and filename, the working
  497. directory and parameters of a Menuitem, which is then added to the Popup-Menu.
  498. :p.For a normal user it is the easiest way to use the following guidelines.
  499. According to the type of application you add, some fields may not be editable
  500. or visible:
  501. :dl tsize=12 break=fit.
  502. :dthd.:hp8.Fieldname&colon.
  503. :ddhd.You would enter&colon.:ehp8.
  504. :dt.:hp9.Program Title&colon.:ehp9.
  505. :dd.Here you enter the name which should appear on the applications's titlebar, 
  506. which may be overwritten by some applications.
  507. For OS/2 and DOS windows, this will also be the title in the window list.
  508. You may also name the Objects here, you want to add.
  509. :dt.:hp9.Path and Filename&colon.:ehp9.
  510. :dd.Here you enter the fully qualified path and filename. F.e. you might enter
  511. :hp4.c&colon.\os2\cmd.exe:ehp4. to obtain an OS/2 command prompt, or
  512. :hp4.c&colon.\os2\mdos\qbasic.exe:ehp4. to start the basic interpreter.
  513. :p.Here you also enter the name of WPS Objects.
  514. WPS Objects are referred either by their defined Object ID (Identity) f.e.
  515. :hp4.<WP_DRIVES>:ehp4. or :hp4.<WP_INST>:ehp4. for preinstalled Objects,
  516. of f.e. :hp4.<WP_USER_CALC>:ehp4. or :hp4.<WP_WIN_PBRUSH>:ehp4. for
  517. Objects installed by the user with :hp8.MAKEOBJ.CMD:ehp8., a REXX-utility
  518. supplied with PC/2.
  519. Preinstalled WPS Objects have usually a defined name, you may need to take a
  520. look into the file :hp8.OS2_20.RC:ehp8. to get further information.
  521. :p.PC/2 can only launch WPS Objects named by their defined ID, so be careful
  522. to get either the correct ID from :hp8.OS2_20.RC:ehp8. or to define an Object
  523. with a known ID with :hp8.MAKEOBJ.CMD:ehp8.
  524. For a user installed Objects, you can freely use any name, preferably a
  525. descriptive name in the form :hp4.<WP_xxxx>:ehp4..
  526. :p.Sorry, this may be a little complicated, but it is the only way I know
  527. to get a known Object ID and the only way I know to start all types of seamless
  528. WIN-OS2 sessions.
  529. You can't use the Program Template to create Objects if you want them to
  530. add to PC/2, because PC/2 can't obtain the Object ID of such Objects.
  531. :p.Here you would also enter the path and filename of a seamless WIN-OS2
  532. application.
  533. :dt.:hp9.Working Directory&colon.:ehp9.
  534. :dd.Here you enter the directory where the EXE, HLP and DLL files of your
  535. application are located. Before the application is started, a change drive
  536. and change directory call is made, to make this directory the working directory.
  537. :dt.:hp9.Parameters&colon.:ehp9.
  538. :dd.Here you enter the parameters passed to the application. PC/2 allows you
  539. to be asked for commandline parameters before the application is invoked.
  540. Press on :link reftype=hd res=&SUID_STARTUPDIALOG..Commandline Parameters:elink.
  541. to find out more about this feature. Assume that you want
  542. to use VIEW.EXE to view the command reference, you would enter
  543. :hp4.c&colon.\os2\book\cmdref.inf:ehp4..
  544. :p.If you have selected the WIN-OS2 Program Manager :hp4.PROGMAN.EXE:ehp4.
  545. to be started as a seamless WIN-OS2 application, you may enter 1 and only
  546. 1 additional WIN-OS2 application, that will be started by the Program
  547. Manager in the same WIN-OS2 session.
  548. The Program Manager itself will be started minimized.
  549. :dt.:hp9.DOS Settings&colon.:ehp9.
  550. :dd.If you select as program type a DOS Full-Screen or DOS Window, a multiline
  551. entryfield is displayed where you can enter the DOS Settings you need. Default,
  552. the DOS Settings :hp4.IDLE_SECONDS=5:ehp4. and :hp4.IDLE_SENSITIVITY:ehp4. are
  553. added if you create a DOS application for the first time. (You have to spell
  554. the DOS Settings exactly as they are displayed in the standard DOS Settings
  555. dialog - even then some can't be set for whatever reasons there are.)
  556. :p.As seamless WIN-OS2 sessions are also DOS type sessions, you can also
  557. adjust the Settings of seamless WIN-OS2 sessions here, f.e. you may want to
  558. increase the memory by adding DPMI_MEMORY_LIMIT=8.
  559. :dt.:hp8.File Find:ehp8.&colon.
  560. :dd.If you click on this button, the standard file dialog of OS/2 is displayed
  561. where you can select the application you want to install. The application
  562. parameters (f.e. path) will then be inserted automatically in the
  563. corresponding entryfields.
  564. :dt.Drag &. Drop:
  565. :dd.You can alternatively use the Drag &. Drop operation to install one
  566. application. Select one application from f.e. a Drives object or from
  567. a filemanager, drag it into the dialog to any area that accepts it and
  568. drop it.
  569. The settings will be adjusted according to the application you dragged into.
  570. You may also drag any WPS Object into this dialog, but be careful to
  571. verify the name of the Object, because I don't know how to do this
  572. automatically (you may need to look into :hp8.OS2_20.RC:ehp8.
  573. for the exact spelling of preinstalled Objects.
  574. :edl.
  575. :p.For a power user, the data entered may be less. Because the OS/2 API
  576. DosStartSession() is used to start the application, all rules for this
  577. API apply as described in the toolkit. Hence you may leave the entryfield
  578. Path and Filename blank and then select from the
  579. :link reftype=hd res=&PIID_PAGE2..Session Settings:elink. group an
  580. OS/2 or DOS fullscreen or window, to get a command prompt.
  581. :p.You may also start an appliciation indirectly through a secondary command
  582. processor by specifying :hp4.c&colon.\os2\cmd.exe:ehp4. as the Path and Filename and
  583. use then the :hp4./C:ehp4. or :hp4./K:ehp4. option of CMD.EXE in the
  584. Parameters entryfield.
  585. :p.Press :hp8.Ok:ehp8. to accept, or press :hp8.Cancel:ehp8. to ignore the data
  586. you entered in all notebook pages.
  587.  
  588. .*--------------------------------------------------------------------------------------*
  589. .* The user selected help from the Program installation Session notebook page.          *
  590. .*--------------------------------------------------------------------------------------*
  591. :h2 res=&PIID_PAGE2..Session Settings
  592. :p.Here you can select the type of application you want to add.
  593. By default, PC/2 tries to determine the type of an application you installed
  594. via the standard file dialog or via Drag &. Drop.
  595. :dl tsize=12 break=fit.
  596. :dthd.:hp8.Option&colon.
  597. :ddhd.Description&colon.:ehp8.
  598. :dt.:hp9.Determined by WPS:ehp9.
  599. :dd.This default selection lets the WPS choose the type of application when
  600. started.
  601. :dt.:hp9.OS/2 Full-Screen:ehp9.
  602. :dd.The seesion is a command session, started in full-screen.
  603. :dt.:hp9.OS/2 Window:ehp9.
  604. :dd.The session is a command session, started in a window on PM.
  605. :dt.:hp9.Presentation Manager:ehp9.
  606. :dd.The session is graphical PM application.
  607. :dt.:hp9.DOS Full-Screen:ehp9.
  608. :dd.The session is a DOS command session, started in full-screen.
  609. :dt.:hp9.DOS Window:ehp9.
  610. :dd.The session is a DOS command session, started in a window on PM.
  611. :dt.:hp9.WPS Object:ehp9.
  612. :dd.The Object-ID of the WPS Object to be started is contained in the entryfield
  613. :hp9.Path and Filename&colon.:ehp9.. The session can only be started when the
  614. Object-ID is assigned.
  615. :dt.:hp9.Seamless WIN-OS2:ehp9.
  616. :dd.The session is a seamless WIN-OS2 session. Be sure that your graphics
  617. adapter supports such sessions. Currently all seamless WIN-OS2 sessions
  618. are seperate sessions.
  619. :dt.:hp9.Real Mode:ehp9.
  620. :dd.The seamless WIN-OS2 session is started in Real Mode. Real Mode compatibility
  621. is only provided by OS/2 2.0.
  622. :dt.:hp9.Standard Mode:ehp9.
  623. :dd.The seamless WIN-OS2 session is started in Standard Mode.
  624. :dt.:hp9.386 Enhanced Mode:ehp9.
  625. :dd.The seamless WIN-OS2 session is started in 386 Enhanced Mode. 386 Enhanced
  626. mode compatibility is only provided by OS/2 2.1.
  627. :edl.
  628. :p.You generally have to verify, that the Program Type setting corresponds
  629. to the application you installed, for most programs you can use
  630. :hp9.Determined by WPS:ehp9. if you aren't sure.
  631. :p.According to the Program Type that is selected, some settings may not
  632. be editable or visible.
  633. :p.OS/2 and DOS Fullscreen or Windows are only used, if you want to start
  634. a command prompt as the application. In this case, you usually enter in the
  635. the entryfield Path and Filename of the group Program Data the path of
  636. the corresponding command processor. A advanced technique to select the
  637. type of command processor only with these radiobuttons is described under
  638. the group :hp9.Program Type:ehp9..
  639. :p.To add a seamless WIN-OS2 session without a corresponding WPS Object
  640. defined, select the :hp9.Seamless WIN-OS2:ehp9. radiobutton.
  641. Another group of buttons will be enabled, allowing you the select the
  642. Settings of the WIN-OS2 session.
  643. Although there is a :hp9.Separate Session:ehp9. checkbox, seamless WIN-OS2
  644. sessions will currently always be started as separate sessions.
  645. :warning.
  646. Under OS/2 2.0 GA, seamless WIN-OS2 sessions may only be started with
  647. the WPS running, otherwise the system hangs.
  648. There seems also to be a problem with a real mode session, because
  649. such a WIN-OS2 session starts to load, but doesn't finish successfully.
  650. Under OS/2 2.1 GA you may start seamless WIN-OS2 session with or without
  651. the WPS installed.
  652. :ewarning.
  653. :p.Press :hp8.Ok:ehp8. to accept, or press :hp8.Cancel:ehp8. to ignore the data
  654. you entered in all notebook pages.
  655.  
  656. .*--------------------------------------------------------------------------------------*
  657. .* The user selected help from the Program installation Style notebook page.            *
  658. .*--------------------------------------------------------------------------------------*
  659. :h2 res=&PIID_PAGE3..Style Settings
  660. :p.You can select one of the radiobuttons and any of the checkboxes to
  661. define the style the application should be started with.
  662. :p.Some applications overwrite the default style settings, i. e. by
  663. reading them from a profile.
  664. PC/2 can't force such applications to accept the styles you selected.
  665. :dl tsize=12 break=fit.
  666. :dthd.:hp8.Option&colon.                         c
  667. :ddhd.Description&colon.:ehp8.
  668. :dt.:hp9.Application defined:ehp9.
  669. :dd.The default style defined by the session itself is used.
  670. :dt.:hp9.Maximized:ehp9.
  671. :dd.The session's default style is modified to maximized.
  672. :dt.:hp9.Minimized:ehp9.
  673. :dd.The session's default style is modified to minimized.
  674. :dt.:hp9.Invisible:ehp9.
  675. :dd.The window created by the application is invisible.
  676. :dt.:hp9.No Autoclose:ehp9.
  677. :dd.The window created by the application is not terminated when the application
  678. shuts down.
  679. :dt.:hp9.Background:ehp9.
  680. :dd.The window is created in the background.
  681. :dt.:hp9.User defined Size &. Position:ehp9.
  682. :dd.The session's default size and position is modified to the values entered.
  683. PC/2 forces the window to the entered position, even when the application overwrites
  684. these values. You may specify a position relative to the origin of the Virtual
  685. Desktops (the "middle" Desktop of the 9 Virtual Desktops), useful when the.
  686. :link reftype=hd res=&ID_DESKTOPDIALOG..Virtual Desktop:elink. feature is
  687. enabled.
  688. :edl
  689. F.e. if you selected :hp9.Minimized:ehp9., :hp9.Invisible:ehp9. and
  690. :hp9.Background:ehp9. buttons, the application will be started minimized, in the
  691. background and invisible (this may make sense for a backup program).
  692. :p.Press :hp8.Ok:ehp8. to accept, or press :hp8.Cancel:ehp8. to ignore the data
  693. you entered in all notebook pages.
  694.  
  695. .*--------------------------------------------------------------------------------------*
  696. .* The user selected help from the Program installation Hotkey notebook page.           *
  697. .*--------------------------------------------------------------------------------------*
  698. :h2 res=&PIID_PAGE4..Hotkey Settings
  699. :p.PC/2 supports the definition of Hotkey, to switch from the current application to a
  700. certain application just by pressing a Hotkey. If the Hotkeyed session is on another
  701. virtual Desktop, PC/2 switches to this Desktop and switches the application into the
  702. foreground. PC/2 supports 0 ... 9 in combination with either the Ctrl-Key or the
  703. Alt-Key as Hotkeys giving you 20 different Hotkeys at maximum.
  704. :p.If PC/2 can't detect the application running, the pressed Hotkey is defined for,
  705. it starts the application as if it was invoked by PC/2's Popup-Menu.
  706. Starting applications by pressing a Hotkey is another alternative invoking programs 
  707. delivered by PC/2.
  708. :p.PC/2 allows you to mark the application as non-movable around the virtual Desktop.
  709. By defining this style the application always keeps on the active Desktop, regardless
  710. to which :link reftype=hd res=&ID_DESKTOPDIALOG..virtual Desktop:elink. you are
  711. switching to.
  712. :p.
  713. :dl tsize=12 break=fit.
  714. :dthd.:hp8.Control&colon.
  715. :ddhd.Description&colon.:ehp8.
  716. :dt.:hp9.Session name:ehp9.
  717. :dd.If you either mark the application as non-movable or define a Hotkey, you must fill
  718. this entryfield with a string that equals or is part of, of either the applications
  719. name on it's titlebar or the applications name in the window list.
  720. If you use one of the two features and you leave the entryfield empty, PC/2 copies the
  721. string from :hp9.Program Title:ehp9. entryfield when you press :hp8.Ok.:ehp8..
  722. :p.Be sure that the string you entered matches only with the current application, because
  723. the first match of this string with any applications's titlebar or it's entry in the
  724. window list will be taken.
  725. You may want to start your application without these options first, to get it's titlebar
  726. name or it's entry in the window list.
  727. :p.I strongly recommend to fill in this entryfield if you experience unexpected results.
  728. PC/2 uses the session name to identify the current sessions from all running sessions.
  729. :dt.:hp9.Keep on active Desktop:ehp9.
  730. :dd.Checking this flags keeps the application always on the current Desktop regardless
  731. to which virtual Desktop you move.
  732. :dt.:hp9.Enable Hotkey:ehp9.
  733. :dd.This flag defines you want to define a Hotkey for this application. The controls
  734. necessary to define the Hotkey will be enabled.
  735. :dt.:hp9.Default:ehp9.
  736. :dd.Once you pressed the Hotkey the Desktop is switched to the virtual Desktop the
  737. application is located on and activates it.
  738. :dt.:hp9.Maximized:ehp9.
  739. :dd.The same as for :hp9.Default:ehp9. is done, but the applications window is maximized
  740. too.
  741. :dt.:hp9.Restore:ehp9.
  742. :dd.The same as for :hp9.Default:ehp9. is done, but the applications window is restored
  743. too.
  744. :dt.:hp9.Ctrl-Key:ehp9.
  745. :dd.You define a Hotkey which ranges from 0 ... 9 and A ... Z in conjunction with the Ctrl-Key.
  746. :dt.:hp9.Alt-Key:ehp9.
  747. :dd.You define a Hotkey which ranges from 0 ... 9 and A ... Z in conjunction with the Alt-Key.
  748. :p.You must select a key in the range between 0 and 9 or A ... Y from the drop down box which in
  749. conjunction with the Ctrl-key or Alt-key is used to switch to the application. You can 
  750. define this way 72 different keys as the maximum.
  751. :p.OS/2 and DOS windows modify the keys pressed in such a way, that PC/2 is not
  752. able to detect them. If you wand to switch from such a window, change the focus
  753. to another window, for example to the Window List by pressing CTRL+ESC.
  754. :warning text='Caution!'. All keys defined as Hotkeys in PC/2 are no longer available
  755. for other applications, because once a key is defined as Hotkey no other application
  756. except PC/2 gets this key.
  757. This is a limitation of the Hotkey feature, because only this way PC/2 can ensure
  758. that if a Hotkey is defined, the Desktop switches to this application.
  759. The Hotkey launches the application, if the application, the Hotkey is defined for,
  760. is not running.
  761. If you need a certain key, which is defined as a Hotkey in PC/2, change the Hotkey
  762. to an unused key.
  763. :ewarning.
  764. :dt.:hp9.Current Window List:ehp9.
  765. :dd.To define the style non-movable or the Hotkey you may start the application first
  766. without these options and gets its titlebar name from it's window or it's window
  767. list name from the :hp9.Current Window List:ehp9..
  768. :edl.
  769. :p.Press :hp8.Ok:ehp8. to accept, or press :hp8.Cancel:ehp8. to ignore the data
  770. you entered in all notebook pages.
  771.  
  772. .*--------------------------------------------------------------------------------------*
  773. .* The user selected help from the Program installation Priority notebook page.         *
  774. .*--------------------------------------------------------------------------------------*
  775. :h2 res=&PIID_PAGE5..Priority Settings
  776. :p.PC/2 allows you to specify the priority of the applications you start via the Popup-Menu.
  777. OS/2 has the following priority classes and deltas defined to select from:
  778. :dl tsize=12 break=fit.
  779. :dthd.:hp8.Priority Class&colon.
  780. :ddhd.Description&colon.:ehp8.
  781. :dt.:hp9.Idle time:ehp9.
  782. :dd.:hp8.Idle-time:ehp8. is the lowest priority class a session or thread can run under OS/2.
  783. You may use this option for task that should only be performed if enough CPU-resource is
  784. available, i.e. for a background NFS (Network File System) Server or BBS.
  785. :dt.:hp9.Regular:ehp9.
  786. :dd.If not specified otherwise the priority class :hp8.Regular:ehp8. is the default class of all
  787. sessions and threads. For these default class the priority delta of 0 is default.
  788. :dt.:hp9.No Change:ehp9.
  789. :dd.This option just doesn't change the priority. The application is started with
  790. the priority class Regular and priority delta 0.
  791. :dt.:hp9.Time Critical:ehp9.
  792. :dd.:hp8.Time-critical:ehp8. priority class is used for time-critical sessions. Examples 
  793. may be real-time data acquisition.
  794. :dt.:hp9.Foreground Server:ehp9.
  795. :dd.:hp8.Foreground Server:ehp8. is the highest priority class available that should be only
  796. used for small assembly language applications because they really eat up the CPU time.
  797. :dt.:hp9.Priority Delta:ehp9.
  798. :dd.The priority delta selectable between 0 and 31 is defined for each priority class.
  799. I.e. a session with Regular priority class and priority delta 25 has a lower priority
  800. than a session with Time-critial priority class and priority delta 3.
  801. :edl.
  802. :p.:warning text='Extreme caution!'. Changing the priority from the default selection
  803. may cause serious performance impacts on your system. Be very carefully when
  804. selecting higher priorities, because the higher the priority the higher the CPU time-slice
  805. a session consumes deteriorating overall system performance.
  806. You can't change the priority of DOS session (and WIN-OS2 sessions are DOS sessions)
  807. because allowing this would lock PM for unknown reasons.
  808. :ewarning.
  809. :p.For example if you set an OS/2 command prompt to a Time-critical priority, you may
  810. not be able to switch to other sessions until the command prompt is waiting for input.
  811. :p.Press :hp8.Ok:ehp8. to accept, or press :hp8.Cancel:ehp8. to ignore the data
  812. you entered in all notebook pages.
  813.  
  814. .*--------------------------------------------------------------------------------------*
  815. .* The user selected examples from the Program installation PC/2 help.                  *
  816. .*--------------------------------------------------------------------------------------*
  817. :h2 res=&PIID_EXAMPLE1..Program installation example 1
  818. :p.Assume you want to add Lotus 123/G:
  819. :dl tsize=12 break=fit.
  820. :dthd.:hp8.Fieldname&colon.
  821. :ddhd.You would enter&colon.:ehp8.
  822. :dt.:hp9.Program Title&colon.:ehp9.
  823. :dd.:hp4.Lotus 123/G:ehp4.
  824. :dt.:hp9.Path and Filename&colon.:ehp9.
  825. :dd.:hp4.c&colon.\123g\123g.exe:ehp4.
  826. :dt.:hp9.Working Directory&colon.:ehp9.
  827. :dd.:hp4.c&colon.\123g:ehp4.
  828. :dt.:hp9.Parameters&colon.:ehp9.
  829. :dd.(none)
  830. :edl.
  831. :p.Lotus 123/G is a Presentation Manager application so you would select
  832. :hp4.Presentation Manager:ehp4. as program type. The program style may be
  833. :hp4.Maximized:ehp4., because more information is visible. The priority
  834. may be left at the default selection :hp4.No Change:ehp4..
  835. :p.Assume you want to add the WPS Object System Clock (located in the
  836. folder :hp8.OS/2 System &rarrow. System Setup:ehp8.):
  837. :dl tsize=12 break=fit.
  838. :dthd.:hp8.Fieldname&colon.
  839. :ddhd.You would enter&colon.:ehp8.
  840. :dt.:hp9.Program Title&colon.:ehp9.
  841. :dd.:hp4.System Clock:ehp4.
  842. :dt.:hp9.Path and Filename&colon.:ehp9.
  843. :dd.:hp4.<WP_CLOCK>:ehp4.
  844. :dt.:hp9.Working Directory&colon.:ehp9.
  845. :dd.(n/a)
  846. :dt.:hp9.Parameters&colon.:ehp9.
  847. :dd.(n/a)
  848. :edl.
  849. :p.The System Clock is a WPS Object, so :hp4.WPS Object:ehp4. is
  850. selected as the program type.
  851. You may have to look into the file :hp8.OS2_20.RC:ehp8. to get the defined
  852. name of preinstalled WPS Objects.
  853. Most settings are not available for WPS Objects.
  854. :p.Assume you want to add the WPS Object seamless WIN-OS2 Clock.
  855. First you must create an WPS Object with a known Object ID (Identifier) with
  856. :hp8.MAKEOBJ.CMD:ehp8., a small REXX-utility supplied with PC/2.
  857. To do so, start :hp8.MAKEOBJ.CMD:ehp8. and supply the Object ID
  858. :hp4.<WP_WIN_CLOCK>:ehp4. when you're asked to.
  859. Then open the newly created Object Settings and change them as you
  860. usually do, when you want to make an Object for a seamless WIN-OS2
  861. session of the WIN-OS2 clock.
  862. After you have created the WIN-OS2 clock object, you can drag it into
  863. this dialog of PC/2:
  864. :dl tsize=12 break=fit.
  865. :dthd.:hp8.Fieldname&colon.
  866. :ddhd.You would enter&colon.:ehp8.
  867. :dt.:hp9.Program Title&colon.:ehp9.
  868. :dd.:hp4.Clock:ehp4.
  869. :dt.:hp9.Path and Filename&colon.:ehp9.
  870. :dd.:hp4.<WP_WIN_CLOCK>:ehp4.
  871. :dt.:hp9.Working Directory&colon.:ehp9.
  872. :dd.(n/a)
  873. :dt.:hp9.Parameters&colon.:ehp9.
  874. :dd.(n/a)
  875. :edl.
  876. :p.The seamless WIN-OS2 Clock is a WPS Object, so :hp4.WPS Object:ehp4.
  877. is used as the program type.
  878. Assuming that you created the seamless WIN-OS2 clock object as outlined
  879. before, then the Object ID is :hp4.<WP_WIN_CLOCK>:ehp4..
  880. If you had an WPS Object before, and you don't know the Object ID, you
  881. have to create a new one with :hp8.MAKEOBJ.CMD:ehp8., to define a known
  882. Object ID.
  883. :p.Sorry, this may be a little complicated, but it is the only way I know
  884. to get a known Object ID and the only way I know to start seamless
  885. WIN-OS2 sessions.
  886. :p.Assume you want to add the WIN-OS2 Program Manager.
  887. Open the Program Installation dialog, and either enter the path information
  888. (f.e. c&colon.\os2\mdos\winos2\progman.exe) or drag :hp4.PROGMAN.EXE:ehp4.
  889. into.
  890. If you have entered the data manually, you also must check the
  891. seamless WIN-OS2 session.
  892. Further assume that you want in the same WIN-OS2 session also start the
  893. WIN-OS2 File Manager :hp4.WINFILE.EXE:ehp4., then you add it to the
  894. Parameters entryfield:
  895. :dl tsize=12 break=fit.
  896. :dthd.:hp8.Fieldname&colon.
  897. :ddhd.You would enter&colon.:ehp8.
  898. :dt.:hp9.Program Title&colon.:ehp9.
  899. :dd.:hp4.Prog &. File Manager:ehp4.
  900. :dt.:hp9.Path and Filename&colon.:ehp9.
  901. :dd.:hp4.c&colon.\os2\mdos\winos2\progman.exe:ehp4.
  902. :dt.:hp9.Working Directory&colon.:ehp9.
  903. :dd.:hp4.c&colon.\os2\mdos\winos2:ehp4.
  904. :dt.:hp9.Parameters&colon.:ehp9.
  905. :dd.:hp4.winfile.exe:ehp4.
  906. :edl.
  907. :p.You can only add a Parameter to the WIN-OS2 Program Manager, and only
  908. one.
  909.  
  910. .****************************************************************************************
  911. .*--------------------------------------------------------------------------------------*
  912. .* The user selected help from the Control Addition PC/2 dialog box.                    *
  913. .*--------------------------------------------------------------------------------------*
  914. .****************************************************************************************
  915.  
  916. :h1 res=&MDID_CONTROLDIALOG..Help for PC/2 Control Addition
  917. :p.This dialog allows you to add Menu Control items to PC/2's Popup-Menu. Except for
  918. :hp9.Break Separator:ehp9. and :hp9.Menu Separator:ehp9. you may only add 1 instance
  919. of the Menu Control to the Popup-Menu.
  920. The Menu Control :hp9.Configure Popup-Menu Settings:ehp9. must be added
  921. to the Popup-Menu in order that PC/2 displays the Popup-Menu after mouse button 1
  922. clicks, otherwise the :link reftype=hd res=&ID_CONFIGDIALOG..Setup dialog:elink. will
  923. be invoked after each mouse click until you have added this Menu Control. PC/2
  924. supports the following Menu Controls:
  925. :dl tsize=12 break=fit.
  926. :dthd.:hp8.Control&colon.
  927. :ddhd.Description&colon.:ehp8.
  928. :dt.:hp9.Menu Settings:ehp9.
  929. :dd.This button is used to add the Menu Control to be able to configure the Popup-Menu
  930. via the Setup dialog.
  931. :dt.:hp9.Desktop Settings:ehp9.
  932. :dd.This button is used to add the Menu Control to configure the virtual Desktop feature.
  933. :dt.:hp9.About PC/2:ehp9.
  934. :dd.This button adds the About PC/2 Menu Control.
  935. :dt.:hp9.ShutDown OS/2:ehp9.
  936. :dd.This button adds a Menu Control, which when selected displays a message box allowing
  937. you to shutdown OS/2 just be clicking on :hp8.Ok:ehp8. or pressing the :hp8.Enter:ehp8. key.
  938. :dt.:hp9.Help:ehp9.
  939. :dd.This button add the online help Menu Control item.
  940. :dt.:hp9.Exit:ehp9.
  941. :dd.This button is used to add the Menu Control to be able to exit PC/2 via a message box
  942. by just clicking on :hp8.Ok:ehp8. or pressing the :hp8.Enter:ehp8. key.
  943. :dt.:hp9.Break Separator:ehp9.
  944. :dd.This button is used to add one break separator Menu Control. You may add this
  945. Menu Control to convert a large single-column menu to a smaller multi-column menu.
  946. This Control is a Menu Control that you may add as often you prefer. I suggest to
  947. use this Control only to break Menuitems not being a Submenu.
  948. :dt.:hp9.Menu Separator:ehp9.
  949. :dd.This button is used to add one separator Menu Control. You may add this Menu Control
  950. to enhance the readability of the Popup-Menu. This Control is a Menu Control that
  951. you may add as often you prefer.
  952. :edl.
  953. :p.Press :hp8.Ok:ehp8. to accept or press :hp8.Cancel:ehp8. to ignore the your modifications.
  954. :p.:link reftype=hd res=&PIID_PROGRAMDIALOG..<Backward>:elink.
  955.                                 :link reftype=hd res=&RDID_RESORTDIALOG..<Forward>:elink.
  956.  
  957.  
  958. .****************************************************************************************
  959. .*--------------------------------------------------------------------------------------*
  960. .* The user selected help from the Resort PC/2 dialog box.                              *
  961. .*--------------------------------------------------------------------------------------*
  962. .****************************************************************************************
  963.  
  964. :h1 res=&RDID_RESORTDIALOG..Help for PC/2 Resort
  965. :p.This dialog box contains two listboxes, the left one that displays the currently
  966. available Menuentries and the right one that displays the currently resorted
  967. Menuentries.
  968. Select the first Menuentry from the left listbox and press the 
  969. :hp8.Reorder:ehp8. button, to resort it to the right listbox.
  970. For the next Menuentry(ies) repeat this procedure, until the left listbox is empty.
  971. :p.You can cancel the resort before you have done any sort, but you have to resort
  972. the complete Submenu once you made one resort operation.
  973. :p.All sorted Menuentries in the right listbox can't be started with PC/2 until
  974. you complete the resort by pressing :hp8.OK:ehp8..
  975. Warning! - You have to press :hp8.OK:ehp8. in the :link reftype=hd 
  976. res=&ID_CONFIGDIALOG..Setup Dialog:elink. to write the resorted Menuentries
  977. structure to the configuration file.
  978. :p.:link reftype=hd res=&MDID_CONTROLDIALOG..<Backward>:elink.
  979.                                 :link reftype=hd res=&SUID_STARTUPDIALOG..<Forward>:elink.
  980.  
  981. .*--------------------------------------------------------------------------------------*
  982. .* The user selected help from the Startup Parameters dialog box.                       *
  983. .*--------------------------------------------------------------------------------------*
  984.  
  985. :h1 res=&SUID_STARTUPDIALOG..Help for PC/2 Startup Parameters
  986. :p.PC/2 allows you to replace the commandline parameters of your application
  987. completly or partly.
  988. :p.F.e. assume you have a TCP/IP communications package installed on your
  989. system. You also have added an Menuitem that start a file transfer program named
  990. :hp4.FTP:ehp4.. :hp4.FTP:ehp4. requires as a parameter the name of the host
  991. you want to connect to.
  992. To prompt you for this parameter immediately before :hp4.FTP:ehp4. is started,
  993. you would modify the parameters entryfield of the PC/2 Program Installation
  994. dialog like :hp8.[Please enter host address]:ehp8.
  995. :p.Further assume that you selected the Menuitem :hp4.FTP:ehp4. from the
  996. Popup-Menu. Just before :hp4.FTP:ehp4. is started, a dialog box is displayed,
  997. requesting the host address from you. F.e. you will type
  998. :hp8.ftp.cdrom.com:ehp8., then the file transfer program will be invoked
  999. as if you typed :hp8.FTP ftp.cdrom.com:ehp8. from a commandline.
  1000. :p.Generally the syntax for the commandline parameters is:
  1001. :p.:hp8.Parameter(s) 1 [Text] Parameter(s) 2:ehp8.
  1002. :p.Assume you typed :hp8.FirstFile.doc:ehp8. as the first and
  1003. :hp8.ThirdFile.doc:ehp8. as the second parameter.
  1004. You will be asked by a dialog box, what to replace :hp8.[Text]:ehp8. with.
  1005. Assume you entered :hp8.MyFile.doc:ehp8. then the program will be invoked
  1006. with the commandline parameters :hp8.FirstFile.doc MyFile.doc ThirdFile.doc:ehp8..
  1007. The string :hp8.[Text]:ehp8. would have been replaced by :hp8.MyFile.doc:ehp8..
  1008. Of course both parameters may be omitted, both may contain more than one parameter
  1009. or only one of them may present. Omitting :hp8.[Text]:ehp8. would start the
  1010. application without asking you for a commandline parameter prior.
  1011. :p.You may also use this dialog, to add a second WIN-OS2 application to a
  1012. WIN-OS2 session, if the first application is the WIN-OS2 Program Manager.
  1013. :p.PC/2 allows you to edit commandline parameters similar to the WPS (open
  1014. the Settings notebook of any application,
  1015. position the cursor into the Parameters entryfield and
  1016. press F1 or Help to get further information).
  1017. :p.Press :hp8.Ok:ehp8. to accept the parameters you entered, or press
  1018. :hp8.Cancel:ehp8. to replace the commandline parameters by an empty string.
  1019. :p.:link reftype=hd res=&RDID_RESORTDIALOG..<Backward>:elink.
  1020.                                 :link reftype=hd res=&ID_DESKTOPDIALOG..<Forward>:elink.
  1021.  
  1022. .****************************************************************************************
  1023. .*--------------------------------------------------------------------------------------*
  1024. .* The user selected help from the Desktop Setup PC/2 dialog box.                       *
  1025. .*--------------------------------------------------------------------------------------*
  1026. .****************************************************************************************
  1027.  
  1028. :h1 res=&ID_DESKTOPDIALOG..Help for PC/2 Desktop Setup
  1029. :p.PC/2 supports what is called :hp8.Sliding Focus:ehp8. and :hp8.Virtual
  1030. Desktop:ehp8..
  1031. :p.A :hp8.sliding Focus:ehp8. ensures, that the window under the mouse pointer
  1032. is always the active window (the one that has a highlighted frame).
  1033. If you move the pointer over another window, PC/2 recognizes the pointer movements,
  1034. and tries to activate the window currently under the mouse pointer.
  1035. The windows will behave similar to X-Windows, but the active window is always fully
  1036. displayed.
  1037. :p.A :hp8.Virtual Desktop:ehp8. is a Desktop enhancement that expands your display.
  1038. For example assume that you are running OS/2 on an XGA-2 at a resolution of 1024 * 768
  1039. pixels.
  1040. Your display has then 1024 columns and 768 rows of pixels, giving you a
  1041. Desktop where application windows can be seen.
  1042. We will call this the :hp8.physical Desktop:ehp8..
  1043. Of course you can start windows outside this Desktop, but you won't be able to
  1044. see them unless you switch to this Desktop..
  1045. :p.PC/2 allows you to expand this Desktop, so that you can move the physical
  1046. Desktop around to see the windows you couldn't see before.
  1047. We will call this enhancement the :hp8.Virtual Desktop:ehp8..
  1048. Simply speaking, imagine the virtual Desktop as an 3 * 3 array of Desktops,
  1049. with the physical Desktop you now can see in the middle.
  1050. Now imagine, that you can move your physical Desktop around within the
  1051. larger virtual Desktop.
  1052. For example assume that you move the physical Desktop left, all windows you have
  1053. started will move right, so some disappear in the right side  and some
  1054. appear on the left side of your display.
  1055. :p.That's just that what PC/2 does for you.
  1056. If you move your mouse pointer on the leftmost column of your display
  1057. (column 0), all windows move rightward, as the physical Desktop moves
  1058. leftward within the virtual Desktop.
  1059. The same principle is used on the rightmost columns and the top and
  1060. bottom rows.
  1061. If you move your mouse pointer into a corner of your display, the Desktop
  1062. even will move in two directions, leading to a horizontal and a
  1063. vertical movement.
  1064. :p.Of course you can only move your physical Desktop in one direction,
  1065. as long as this movement keeps the physical Desktop within the
  1066. virtual Desktop.
  1067. Using this feature, you expand your physical Desktop to a 9-fold virtual
  1068. Desktop.
  1069. :dl tsize=12 break=fit.
  1070. :dthd.:hp8.Control&colon.
  1071. :ddhd.Description&colon.:ehp8.
  1072. :dt.:hp9.Sliding Focus:ehp9.
  1073. :dd.Select this checkbox to enable the :hp8.Sliding Focus:ehp8. feature of
  1074. PC/2.
  1075. :dt.:hp9.Preserve Z-Order:ehp9.
  1076. :dd.To preserve the Z-order of the windows, that is the order in which a window in
  1077. the foreground overlaps a window behind, also check the :hp9.Preserve Z-Order:ehp9.
  1078. checkbox.
  1079. If you run seamless WIN-OS2 sessions, you may want to disable the sliding Focus,
  1080. to avoid some nasty problems.
  1081. :dt.:hp9.Button 2 titlebar click to set window to bottom:ehp9.
  1082. :dd.Select this checkbox if you want to click down mouse button 2 on any window's
  1083. titlebar to set this window to the bottom of all windows. This moves the window
  1084. you clicked on behind all other windows, lowering its Z-Order to the minimum.
  1085. :dt.:hp9.Virtual Desktop:ehp9.
  1086. :dd.Select this checkbox to enable the :hp8.Virtual Desktop:ehp8. feature of
  1087. PC/2.
  1088. :dt.:hp9.Move OS/2's Desktop:ehp9.
  1089. :dd.This checkbox allows you to move the Desktop within the virtual Desktop
  1090. like any other window. The Desktop is another name for the WPS (WorkPlace-Shell).
  1091. You may check this option if you don't need the services provided by the WPS
  1092. on all Virtual Desktops.
  1093. :dt.:hp9.Click to Move:ehp9.
  1094. :dd.If you prefer to click, before the physical Desktop is moved,
  1095. select this option.
  1096. After you move your mouse pointer over the surrounding rows or columns
  1097. you have to click, either a single or double click according to the
  1098. :dt.:hp9.Overview Window:ehp9.
  1099. :dd.You may also want an overview window, that contains the current
  1100. layout of the virtual Desktop.
  1101. Select this checkbox to enable this feature.
  1102. You may doubleclick with mouse button 1 on any of the 9 :hp8.virtual
  1103. Desktop:ehp8.s to immediately switch to this Desktop.
  1104. commandline option, to move the physical Desktop.
  1105. :dt.:hp9.Keep on top:ehp9.
  1106. :dd.Select this option if you want the overview window to stay always on
  1107. the top of the Desktop, even if another window has the focus.
  1108. :dt.:hp9.Virtual Desktop Scrolling:ehp9.
  1109. :dd.You can use this scrollbar to select the percentage of the display
  1110. dimensions the physical Desktop should move for a single movement.
  1111. You can select between 0 and 100 % wit 5% increments, with 100 % being the
  1112. default one.
  1113. :dt.:hp9.OS/2's Desktop Name:ehp9.
  1114. :dd.PC/2 has to know the name of this Desktop, so you have to ensure that
  1115. you type its name in the entryfield.
  1116. Under OS/2 2.0 its usually named :hp8.OS/2 2.0 Desktop:ehp8., but
  1117. it changes under OS/2 2.1 to :hp8.Desktop:ehp8., if you haven't installed
  1118. it over an existing OS/2 2.0 system.
  1119. You may rename the Desktop by clicking with mouse button 2 on the Desktop
  1120. selecting Desktop&rarrow.Settings and selecting the General notebook page.
  1121. Changing the title can be used to replace :hp8.OS/2 2.0 Desktop:ehp8.
  1122. by :hp8.Desktop:ehp8..
  1123. Also ensure that you translate is into your national language, if you
  1124. don't use an English OS/2 version.
  1125. :dt.:hp9.Window List Name:ehp9.
  1126. :dd.PC/2 also requires to know the name of the Window List.
  1127. The Window List is usually named :hp8.Window List:ehp8. but you have to 
  1128. ensure that it is translated into your national language, if you don't
  1129. use an English OS/2 version.
  1130. :dt.:hp9.Button 1 Single Click:ehp9.
  1131. :dd.Select this option if you want to activate the Popup-Menu or
  1132. switch to another virtual Desktop with a single click with mouse button 1.
  1133. :dt.:hp9.Button 1 Double Click:ehp9.
  1134. :dd.Select this option if you want to activate the Popup-Menu or
  1135. switch to another virtual Desktop with a double click with mouse button 1.
  1136. :edl.
  1137. :p.These setting are saved and will be used when PC/2 is loaded unless you have
  1138. specified a different behaviour with the
  1139. :link reftype=hd res=&SUID_STARTUPDIALOG..Commandline Parameters:elink..
  1140. :p.Press :hp8.Ok:ehp8. to accept the configuration and save it into an INI file,
  1141. or press :hp8.Cancel:ehp8. to ignore any changes you made.
  1142. If your INI file is corrupted, PC/2 assumes default values, which
  1143. you then can edit and save to a new INI file.
  1144. :p.:link reftype=hd res=&SUID_STARTUPDIALOG..<Backward>:elink.
  1145.                                 :link reftype=hd res=&ID_OVERVIEWHELP..<Forward>:elink.
  1146.  
  1147.  
  1148. .****************************************************************************************
  1149. .*--------------------------------------------------------------------------------------*
  1150. .* The user selected help for PC/2's overview window.                                   *
  1151. .*--------------------------------------------------------------------------------------*
  1152. .****************************************************************************************
  1153.  
  1154. :h1 res=&ID_OVERVIEWHELP..Help for PC/2's overview window
  1155. :p.PC/2's Desktop overview window displays a sized image of all windows available on
  1156. all Virtual Desktops and allows direct manipulation.
  1157. Of course PC/2's overview window must be enabled before it is displayed..
  1158. The overview window is controlled by smarticons, located at the top of the window.
  1159. The currently active smarticon is framed and pressed. If mouse button 2 is pressed
  1160. on a window the action corresponding to the active smarticon is performed.
  1161. :p.To perform actions on the windows displayed in PC/2's Desktop overview window, the
  1162. following smarticons may be used:
  1163. :dl tsize=12 break=fit.
  1164. :dthd.:hp8.Icon&colon.
  1165. :ddhd.Description&colon.:ehp8.
  1166. :dt.:artwork name='Exit.bmp' runin align=left.:hp9.Exit PC/2:ehp9.
  1167. :dd.Click on this smarticon to exit PC/2.
  1168. :dt.:artwork name='Move.bmp' runin align=left.:hp9.Move window:ehp9.
  1169. :dd.Selecting this icon changes the cursor to a window pointer cursor, allowing you
  1170. to select and move a window by clicking and holding mouse button 2.
  1171. :dt.:artwork name='Top.bmp' runin align=left.:hp9.Set to top:ehp9.
  1172. :dd.Selecting this icon changes the cursor to a cross wires cursor, allowing you to
  1173. move a window on the top of the Desktop by clicking mouse button 2 onto it.
  1174. :dt.:artwork name='Bottom.bmp' runin align=left.:hp9.Set to bottom:ehp9.
  1175. :dd.Selecting this icon changes the cursor to a cross wires cursor, allowing you to
  1176. move a window to the bottom of the Desktop by clicking mouse button 2 onto it.
  1177. :dt.:artwork name='Close.bmp' runin align=left.:hp9.Kill a session:ehp9.
  1178. :dd.Selecting this icon changes the cursor to a cross wires cursor, allowing you to
  1179. terminate a window by clicking mouse button 2 onto it.
  1180. :dt.:artwork name='Maximize.bmp' runin align=left.:hp9.Maximize window:ehp9.
  1181. :dd.Selecting this icon changes the cursor to a cross wires cursor, allowing you to
  1182. maximize a window by clicking mouse botton 2 onto it.
  1183. :dt.:artwork name='Minimize.bmp' runin align=left.:hp9.Minimize window:ehp9.
  1184. :dd.Selecting this icon changes the cursor to a cross wires cursor, allowing you to
  1185. minimize a window by clicking mouse botton 2 onto it.
  1186. :dt.:artwork name='Restore.bmp' runin align=left.:hp9.Restore window:ehp9.
  1187. :dd.Selecting this icon changes the cursor to a cross wires cursor, allowing you to
  1188. restore a window by clicking mouse botton 2 onto it.
  1189. :dt.:artwork name='ShutDown.bmp' runin align=left.:hp9.ShutDown OS/2:ehp9.
  1190. :dd.Selecting this icon changes the cursor to a window pointer cursor and displays
  1191. a message box asking to continue ShutDown of OS/2.
  1192. :dt.:artwork name='Help.bmp' runin align=left.:hp9.PC/2 Help:ehp9.
  1193. :dd.Selecting this icon changes the cursor to a window pointer cursor and displays
  1194. PC/2's online help you are reading now.
  1195. :edl.
  1196. :p.:link reftype=hd res=&ID_DESKTOPDIALOG..<Backward>:elink.
  1197.                                 :link reftype=hd res=&ID_ERRORHELP..<Forward>:elink.
  1198.  
  1199.  
  1200. .****************************************************************************************
  1201. .*--------------------------------------------------------------------------------------*
  1202. .* The user selected error help.                                                        *
  1203. .*--------------------------------------------------------------------------------------*
  1204. .****************************************************************************************
  1205.  
  1206. :h1 res=&ID_ERRORHELP..Help for PC/2 Errors
  1207. :p.PC/2 can't verify all user input for validity, so some user input may cause
  1208. some PC/2 functions to fail. In this case, a message box is displayed containing
  1209. the module and the sourcecode linenumber that failed. Also a error message is
  1210. displayed containing which error occured and what should be done to resolve the
  1211. problem.
  1212. :p.F.e. you might have configured to start the program :hp4.VIEW.EXE:ehp4. by
  1213. writing :hp4.c&colon.\os3\view.exe:ehp4. in the entryfield :hp9.Path and Filename:ehp9.
  1214. in the Program Installation dialog. This of course leads to an error, because when
  1215. OS/2 tries to start this item, it can't find the directory :hp4.\os3\:ehp4. simply
  1216. because it should read :hp4.\os2\:ehp4.. A message box is displayed saying an
  1217. error occured and that the user input should be corrected.
  1218. :p.The messagebox has three buttons that may be pressed:
  1219. :dl tsize=12 break=fit.
  1220. :dthd.:hp8.Button&colon.
  1221. :ddhd.Result&colon.:ehp8.
  1222. :dt.:hp8.Abort:ehp8.
  1223. :dd.PC/2 will be terminated and all unsaved data will be lost. You have to restart
  1224. PC\2 again. This button should be the last one you select.
  1225. :dt.:hp8.Retry:ehp8.
  1226. :dd.The error is ignored, you may need to correct your data entered in the entryfields.
  1227. :dt.:hp8.Ignore:ehp8.
  1228. :dd.The error is ignored, you may need to correct your data entered in the entryfields.
  1229. :edl.
  1230. :p.:link reftype=hd res=&ID_OVERVIEWHELP..<Backward>:elink.
  1231.                                 :link reftype=hd res=&ID_HELP..<Forward>:elink.
  1232.  
  1233. :euserdoc.
  1234.  
  1235.